From 86cfc7b2f63f2c12df166cd994940585c63f03b3 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Wed, 23 Apr 2008 07:49:47 +0000 Subject: [PATCH] exif: Fix lat_ref/lon_ref handling. --- gpsbabel/exif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/exif.c b/gpsbabel/exif.c index 4f2bd7814..9496a943d 100644 --- a/gpsbabel/exif.c +++ b/gpsbabel/exif.c @@ -319,7 +319,7 @@ exif_read_tags(const int ifd) } if (lat_ref == 'S') wpt->latitude *= -1; - else + else if (lat_ref != 'N') warning(MYNAME ": GPSLatitudeRef not set! Using N(orth).\n"); if (lon_ref == 'W') wpt->longitude *= -1; else if (lon_ref != 'E') warning(MYNAME ": GPSLongitudeRef not set! Using E(east).\n"); -- 2.30.2